/**
 * @Author MrsGuo
 * version 1.0
 * @Date 2023-08-02 14:51
 */
package com.cl.erp_2301.Service.impl;

import com.cl.erp_2301.Service.LoginService;
import com.cl.erp_2301.entity.Emp;
import com.cl.erp_2301.mapper.LoginMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Resource
    private LoginMapper loginMapper;
    @Override
    public Emp login(String username, String password) {

        return loginMapper.login(username, password);
    }

}
